import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import {h} from 'vue';
import {Switch} from 'ant-design-vue';

export const columns: BasicColumn[] = [
        {
            title: '推荐人地区',
            dataIndex: 'saleAdd',
            width: 200,
        },
        {
            title: '推荐人姓名',
            dataIndex: 'saleName',
            width: 200,
        },
        {
            title: '推荐人电话',
            dataIndex: 'salePhone',
            width: 200,
        },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
        {
            label: '推荐人地区',
            field: 'saleAdd',
            component: 'Input',
            required: true,
        },
        {
            label: '推荐人姓名',
            field: 'saleName',
            component: 'Input',
            required: true,
        },
        {
            label: '推荐人电话',
            field: 'salePhone',
            component: 'Input',
            required: true,
        },
];
